﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace The_Last_Knights.Event
{
    public class EventRouting
    {
        object _sender;

        public object Sender
        {
            get { return _sender; }
        }

        public string EventId
        {
            get { return _eventId; }
        }

        public object WParam
        {
            get { return _wParam; }
        }

        public object LParam
        {
            get { return _lParam; }
        }

        public List<EventEntity> Listeners
        {
            get { return _listeners; }
        }

        string _eventId;
        object _wParam;
        object _lParam;
        List<EventEntity> _listeners;

        public EventRouting(object sender, string eventId, object wParam, object lParam, List<EventEntity> listeners)
        {
            _sender = sender;
            _eventId = eventId;
            _wParam = wParam;
            _lParam = lParam;
            _listeners = listeners;
        }
    }
}
